package net.maku.needy.convert;

import net.maku.needy.entity.NeedyMemberFamilyEntity;
import net.maku.needy.vo.NeedyMemberFamilyVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 困难职工家庭成员
*
* @author 阿沐 babamu@126.com
* @since 1.0.0 2025-03-20
*/
@Mapper
public interface NeedyMemberFamilyConvert {
    NeedyMemberFamilyConvert INSTANCE = Mappers.getMapper(NeedyMemberFamilyConvert.class);

    NeedyMemberFamilyEntity convert(NeedyMemberFamilyVO vo);

    NeedyMemberFamilyVO convert(NeedyMemberFamilyEntity entity);

    List<NeedyMemberFamilyVO> convertList(List<NeedyMemberFamilyEntity> list);

}